package com.song.controller;

import com.song.vo.Cat;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName : PropController
 * @Author : 司猫子
 * @Date: 2021/2/28 23:45
 */
@Controller
public class PropController {
    @Autowired
    private Cat cat;
    @RequestMapping("/go")
    @ResponseBody
    public String test(){
        return "sfdfsafafafads"+cat.toString();
    }
}
